
<li class="list-group-item">


<a  data-toggle="collapse" data-parent="#accordion"  href="#collapse{{ kwd['cat_id'] }}">{{ _(pcatinfo.name) }}
    <span class="cat_num">
                ({% module info_count(pcat=True,catid = pcatinfo.uid,kind=pcatinfo.kind) %})
            </span>
</a>


<div id="collapse{{ kwd['cat_id'] }}" class="panel-collapse collapse {% if kwd['cur_catid'] and kwd['cat_id'] == str(kwd['cur_catid'][:2])+'00' %} in {% end %}" >


{#        {% if pcatinfo.uid.endswith('00') %}#}
{#        <div class="card-header">#}
{#            <b><a href="/{{ kwd['router'] }}_filter/{{ pcatinfo.uid }}">{{ _(pcatinfo.name) }}</a></b>#}
{#        </div>#}
{#        {% end %}#}
        <ul>

            {% for rec in recs %}
            <li class="list-group-item">
            <a href="/filter/{{ rec.uid }}" >
                 {% if kwd['cur_catid'] and  rec.uid == kwd['cur_catid'] %}
                <b>{{ _(rec.name) }}</b>
                {% else %}
                {{ _(rec.name) }}
                {% end %}
                <span class="cat_num">
                ({% module info_count(pcat=False,catid = rec.uid,kind=rec.kind) %})
            </span>
            </a>
            </li>
            {% end %}
        </ul>

</div>


</li>


